package com.csdj.t309springboot.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
 * <p>
 * 拼图碎片记录表
 * </p>
 *
 * @author 谭湛宇
 * @since 2022-01-14
 */
@TableName("pieces_of_record")
public class PiecesOfRecord implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 拼图碎片记录编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 拼图编号
     */
    private Integer jigsawPuzzleId;
    /**
     * 盲盒编号
     */
    private Integer blindBoxId;
    /**
     * 用户编号
     */
    private Integer userId;
    /**
     * 碎片位置
     */
    private Integer piecesPosition;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getJigsawPuzzleId() {
        return jigsawPuzzleId;
    }

    public void setJigsawPuzzleId(Integer jigsawPuzzleId) {
        this.jigsawPuzzleId = jigsawPuzzleId;
    }
    public Integer getBlindBoxId() {
        return blindBoxId;
    }

    public void setBlindBoxId(Integer blindBoxId) {
        this.blindBoxId = blindBoxId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getPiecesPosition() {
        return piecesPosition;
    }

    public void setPiecesPosition(Integer piecesPosition) {
        this.piecesPosition = piecesPosition;
    }

    @Override
    public String toString() {
        return "PiecesOfRecord{" +
            "id=" + id +
            ", jigsawPuzzleId=" + jigsawPuzzleId +
            ", blindBoxId=" + blindBoxId +
            ", userId=" + userId +
            ", piecesPosition=" + piecesPosition +
        "}";
    }
}
